package org.alis.smallcc.designpatterns.behavior.chain;

public class Main {
	public static void main(String[] args) {
		UserRequest request = new UserRequest();
		request.setAmount(1400);
		request.setCount(11);
		AbstractChainHandler handler =new LeaderChainHandler();
		System.out.println(handler.defaultNext(request));
	}
}
